Hello Dxl Community How can I fix the module level processing section of this code below so that it works. The code below is really just "boiler plate code" for navigating at DOORS explorer level in a given Folder and extracting attributes from all the modules (..for later processing, export) etc. This code would have to be execute in the Explorer context (Tools->Edit Dxl) How does one add a DXL program on the menu at DOORS explorer level?
void goRecurse(Folder thisFold) {
Item itm
for itm in all thisFold do {
if (type(itm) == "Folder" or type(itm) == "Project") {
goRecurse(folder(itm)) // if it's a 'folder' keep digging
}
else if (type(itm) == "Formal")
{
/////
//BEGIN MODULE processing section
Object o
string hdg, txt
for o in itm do // or is it : for o in Current Module???
{
print identifier(o)
print txt "\n"
}
/////
//END MODULE processing section
}
}
}
goRecurse(current Folder) // start at the current folder
MyDeveloerWorks - Mon Apr 07 08:48:08 EDT 2014 |
Re: Navigating Explorer and processing inside Module You need to open the module
-Louie I prefer this construct:
|
Re: Navigating Explorer and processing inside Module llandale - Mon Apr 07 13:36:36 EDT 2014 You need to open the module
-Louie I prefer this construct:
thanks that worked! |